import 'package:winkai/generated/json/base/json_field.dart';
import 'package:winkai/generated/json/mse_rpy_rsp.g.dart';
import 'dart:convert';
export 'package:winkai/generated/json/mse_rpy_rsp.g.dart';

@JsonSerializable()
class MsgRpyRsp {
	@JSONField(name: "conv_id")
	int? convId;
	@JSONField(name: "msg_id")
	String? msgId;
	MsgRpyRspAnswer? answer;

	MsgRpyRsp();

	factory MsgRpyRsp.fromJson(Map<String, dynamic> json) => $MsgRpyRspFromJson(json);

	Map<String, dynamic> toJson() => $MsgRpyRspToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MsgRpyRspAnswer {
	String? content;
	String? source;
	@JSONField(name: "lock_level")
	String? lockLevel;
	MsgRpyRspAnswerAnalysis? analysis;

	MsgRpyRspAnswer();

	factory MsgRpyRspAnswer.fromJson(Map<String, dynamic> json) => $MsgRpyRspAnswerFromJson(json);

	Map<String, dynamic> toJson() => $MsgRpyRspAnswerToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MsgRpyRspAnswerAnalysis {
	@JSONField(name: "ask_photo")
	bool? askPhoto;

	MsgRpyRspAnswerAnalysis();

	factory MsgRpyRspAnswerAnalysis.fromJson(Map<String, dynamic> json) => $MsgRpyRspAnswerAnalysisFromJson(json);

	Map<String, dynamic> toJson() => $MsgRpyRspAnswerAnalysisToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}